package com.bonc.service.impl;

import com.bonc.entity.ParkCompanyPerson;
import com.bonc.mapper.ParkCompanyPersonMapper;
import com.bonc.service.ParkCompanyPersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 努力！奋斗！
 * 理解的快不等于理解的好！
 *
 * @author LRJ
 * @Date 2021/08/03  11:49
 **/
@Service
public class ParkCompanyPersonServiceImpl implements ParkCompanyPersonService {

    @Autowired
    private ParkCompanyPersonMapper parkCompanyPersonMapper;

    /**
     * 查看详情(根据id查询数据)
     * @param id
     * @return
     */
    @Override
    public ParkCompanyPerson PfindById(String id) {
        return parkCompanyPersonMapper.PfindById(id);
    }

    /**
     * 修改关注状态
     * @param followStatus
     * @param id
     * @return
     */
    @Override
    public Integer upDataFollowStatus(String followStatus, String id) {
        return parkCompanyPersonMapper.upDataFollowStatus(followStatus,id);
    }

}
